<div class="top-action">
	<ul class="links">
		<li><a href="albums-list.php">List Albums</a></li>
	</ul>
</div>
<div class="form-wrap">
	<form id="albums-add-form" name="albums-add-form" method="post" action="albums-add.php" enctype="multipart/form-data">
	  <table class="data-editor">
							
							
	<tr class="{cycle values='A,B'}">
		<td class="attribute">Album Name: <span class="required">*</span></td>
		<td>
			<input type="text" name="albums[album_name]" value="{$albums.album_name|utf8}" class="input" id="albums-album_name" />
			<span class="form-hints">Given album name</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Album Folder: <span class="required">*</span></td>
		<td>
			<input type="text" name="albums[album_folder]" value="{$albums.album_folder|utf8}" class="input" id="albums-album_folder" />
			<span class="form-hints">Where is the album files located orginally on the server</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Album Folder Local: <span class="required">*</span></td>
		<td>
			<input type="text" name="albums[album_folder_local]" value="{$albums.album_folder_local|utf8}" class="input" id="albums-album_folder_local" />
			<span class="form-hints">Local storage media path</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Album Cover Image: <span class="required">*</span></td>
		<td>
			<input type="text" name="albums[album_coverimage]" value="{$albums.album_coverimage|utf8}" class="input" id="albums-album_coverimage" />
			<span class="form-hints">Cover image for this album</span>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
		<td class="attribute">Album Description: <span class="required">*</span></td>
		<td class="value">
			<div><textarea rows="5" cols="75" name="albums[album_description]" class="editor" id="albums-album_description">{$albums.album_description|utf8}</textarea></div>
			<p><span class="form-hints">Some additional details</span></p>
		</td>
	</tr>

	<tr class="{cycle values='A,B'}">
	  <td class="attribute">&nbsp;</td>
	  <td>
		<input type="text" name="email" value="" class="vanish" />
		<input type="text" name="is_spam" value="" class="vanish" />
		<!--{* 100% sure, only spammers fill these fields, Leave it blank. *}-->
		
		<input type="hidden" name="protection_code" value="{$protection_code}" />
		<input type="hidden" name="add-action" value="Add Albums" />
		<input type="submit" name="submit-button" class="submit" value="Add" />
		<a href="{url::last_page('albums-list.php')}" class="button-cancel">Cancel</a>
	  </td>
	</tr>
  </table>
</form>
</div>
<!-- End of administrators Add -->

<!-- Add validation -->
<script type="text/javascript" src="js/validator/gen_validatorv31.js"></script>
{js src='validators/albums/add.js' validator=true}

<!-- Rich Editor: Remove if not necessary. Or, use different .js files -->
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/tinymce-textareas.js"></script>

<!-- End of albums Add -->